import mitt from 'mitt'

type Events = {
  searchText?: any
}

const keywordEmitter = mitt<Events>()

export default keywordEmitter
